package org.wangtian.youxueban.excel.work;

import lombok.Data;

@Data
public class ChanPinBo {
    private int length;
    private int width;
    private int height;
    private int needTotalNum;//
    private int currentNum;//
    private int sumLength;//

    public ChanPinBo(ChanPinBo chanPinBo) {
        this.length = chanPinBo.length;
        this.width = chanPinBo.width;
        this.height = chanPinBo.height;
        this.currentNum=chanPinBo.currentNum;
        this.needTotalNum = chanPinBo.needTotalNum;
    }
    public ChanPinBo(int length, int width, int height, int needTotalNum) {
        this.length = length;
        this.width = width;
        this.height = height;
        this.needTotalNum = needTotalNum;
    }

    @Override
    public String toString() {
        return "ChanPinBo{" +
                "length=" + length +
                ", height=" + height +
                ", NeedTotalNum=" + needTotalNum +
                ", currentNum=" + currentNum +
                '}';
    }
}
